#include "ExampleProcessorController.h"

ExampleProcessorController::ExampleProcessorController(ExampleProcessorProcessor * processor)
{
    Processor = processor;
}

void ExampleProcessorController::updateRedScaling(int r)
{
    float redscale = float(r) / 100.0;
    Processor->setRedScaling(redscale);
}

void ExampleProcessorController::updateGreenScaling(int g)
{
    float greenscale = float(g) / 100.0;
    Processor->setGreenScaling(greenscale);
}

void ExampleProcessorController::updateBlueScaling(int b)
{
    float bluescale = float(b) / 100.0;
    Processor->setBlueScaling(bluescale);
}

